package com.my.zl.console.service.autocode;

import com.my.zl.common.dto.ReqDTO;
import com.my.zl.common.dto.advancedQuery.PageQueryDTO;
import com.my.zl.console.entity.autocode.ZlEntityAttr;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrAddDTO;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrDelDTO;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrEditDTO;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrQueryDTO;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrDetailDTO;
import com.my.zl.console.dto.autocode.entityAttr.ReqEntityAttrStateDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrAddDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrDelDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrEditDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrQueryDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrDetailDTO;
import com.my.zl.console.dto.autocode.entityAttr.ResEntityAttrStateDTO;

/**
 * 实体属性配置
 * @author ZL
 */
public interface IEntityAttrService {

    /**
     * 查询
     */
    ResEntityAttrQueryDTO queryEntityAttrList(ReqEntityAttrQueryDTO reqInfo,PageQueryDTO page) throws Exception;
    
    /**
     * 详情
     */
    ResEntityAttrDetailDTO queryEntityAttrDetail(ReqEntityAttrDetailDTO reqInfo) throws Exception;
    
    /**
     * 新增
     */
    ResEntityAttrAddDTO insertEntityAttrInfo(ReqDTO<ReqEntityAttrAddDTO> reqInfo) throws Exception;
    
    /**
     * 编辑
     */
    ResEntityAttrEditDTO updateEntityAttrInfo(ReqDTO<ReqEntityAttrEditDTO> reqInfo) throws Exception;
    
    /**
     * 删除
     */
    ResEntityAttrDelDTO deleteEntityAttrInfo(ReqDTO<ReqEntityAttrDelDTO> reqInfo) throws Exception;
    
    /**
     * 更新状态
     */
    ResEntityAttrStateDTO updateEntityAttrState(ReqDTO<ReqEntityAttrStateDTO> reqInfo) throws Exception;
    
    
}